
<div class="pad-10">

	<div class="navigate">
		<h1>帐号添加</h1>

        <span class="ui-button ui-button-morange fr">
                <a class="ui-button-text fr"  href="/index.php/Admin/Member/">帐号列表</a>
        </span>
  	</div>
  	
  	
<div class="col-tab">

<ul class="tabBut cu-li">
	<li id="tab_setting_1" class="on"
		onclick="SwapTab('setting','on','',3,1);">帐号添加</li>
	<li id="tab_setting_2" class=""
		onclick="SwapTab('setting','on','',3,2);">批量添加</li>
	<li id="tab_setting_3" class=""
		onclick="SwapTab('setting','on','',3,3);">批量修改</li>
</ul>


<!-- 帐号添加 -->
<div id="div_setting_1" class="contentList pad-10">

<form id="form_member" action="/index.php/Admin/Member/add_do" method="post">
<table width="100%" cellpadding="2" cellspacing="1" class="table_form">

	<tr>
		<th width="100">用户名称:</th>
		<td><input type="text" name="member_name" id="member_name" class="input-text"
			value="" style="width:300px;">
			<span class="color-red" title="必填">*</span>	
		</td>
	</tr>
	
	<tr>
		<th width="100">密码:</th>
		<td><input type="text" name="member_pwd" id="member_pwd" class="input-text"
			value="" style="width:300px;">
			<span class="color-red" title="必填">*</span>	
		</td>
	</tr>
	
	<tr>
		<th width="100">支付密码:</th>
		<td><input type="text" name="member_pay_pwd" id="member_pay_pwd" class="input-text"
			value="" style="width:300px;">
			<span class="color-red" title="必填">*</span>	
		</td>
	</tr>
	<tr>
		<th width="100">绑定手机:</th>
		<td><input type="text" name="mobile_phone" id="mobile_phone" class="input-text"
			value="" style="width:300px;">
		</td>
	</tr>
	<tr>
		<th width="100">绑定邮箱:</th>
		<td><input type="text" name="email" id="email" class="input-text"
			value="" style="width:300px;"></td>
	</tr>
	<tr>
		<th width="100">邮箱密码:</th>
		<td><input type="text" name="email_pwd" id="email_pwd" class="input-text"
			value="" style="width:300px;"></td>
	</tr>
	<tr>
		<th width="100">网站平台:</th>
		<td>
			<select name="plantform_id" id="plantform_id" style="width:300px;">
				<volist name="plantforms" id="p">
				<option value="{$p.plantform_id}">{$p.plantform_name}</option>
				</volist>
          	</select>
          	<span class="color-red" title="必填">*</span>
		</td>
	</tr>

	<tr>
		<th width="100">备注:</th>
		<td>
			<textarea id="remark" name="remark" cols="50" rows="3"></textarea>
		</td>
	</tr>
	
	<tr>
		<th width="100">状态:</th>
		<td>
			<input type="radio" id="disabled" name="disabled" value="1" />
			<label for="disabled">禁用</label>
			
			<input type="radio" id="enabled" name="disabled" value="0" checked />
			<label for="enabled">启用</label>
			<span class="color-red" title="必填">*</span>
		</td>
	</tr>
	<tr>
		<th width="100">内部号:</th>
		<td>
			<input type="radio" id="is_internal_0" name="is_internal" value="0" checked />
			<label for="is_internal_0">否</label>
			
			<input type="radio" id="is_internal_1" name="is_internal" value="1" />
			<label for="is_internal_1">是</label>
			<span class="color-red" title="必填">*</span>
		</td>
	</tr>
	<tr>
		<th width="100"></th>
		<td>
			<input type="submit" class="button" value="添加" id="btnAdd" />			
		</td>
	</tr>
</table>
</form>
</div>
<!-- 帐号添加 -->




<!-- 批量添加  -->
<div id="div_setting_2" class="contentList pad-10 hidden">

<form id="form_file" name="form_file" enctype="multipart/form-data" action="/index.php/Admin/Member/import_add_do" method="post">
<table width="100%" cellpadding="2" cellspacing="1" class="table_form">
	<tr>
		<th width="100"></th>
		<td>
				<a href="/Upload/admin/member/member.csv" target="_blank">下载帐号模板</a>
			
				<input type="file" name="member" />
				<input id="btnUpload" type="submit" class="button" value="上传帐号" />
						
		</td>
	</tr>
</table>


</form>

</div>
<!-- 批量添加  -->



<!-- 批量修改  -->
<div id="div_setting_3" class="contentList pad-10 hidden">

<form id="form_update" name="form_update" enctype="multipart/form-data" action="/index.php/Admin/Member/import_update_do" method="post">
<table width="100%" cellpadding="2" cellspacing="1" class="table_form">
	<tr>
		<th width="100"></th>
		<td>
				<a href="/index.php/Admin/Member/export_csv" target="_blank">下载帐户列表</a>
			
				<input type="file" name="member" />
				<input id="btnUpdateUpload" type="submit" class="button" value="上传帐户" />
						
		</td>
	</tr>
</table>
</form>
</div>
<!-- 批量修改  -->



</div>
</div>

<script type="text/javascript" src="/Js/common.js"></script>
<script type="text/javascript" src="/Js/jquery.form.js"></script>
<script type="text/javascript" src="/Js/adm/member/add.js"></script>